package com.francis.spring.framework.core;

/**
 * @Author Francis
 * @Date 2020/11/15 16:34
 * @Version 1.0
 * 单例工厂的顶层设计
 */
public interface FrancisBeanFactory {

    /**
     * 根据beanName从IOC容器中获得一个实例Bean
     * @param beanName
     * @return
     */
    Object getBean(String beanName) throws Exception;

    public Object getBean(Class<?> beanClass) throws Exception;
}
